package edu.gatech.cs2340.mule.model;
import java.io.Serializable;


/**
 * 
 * This class represents the town that is a location on the map
 * in a game of MULE. The town will contain the LandOffice, Pub,
 * and Store.
 * 
 * @author Keegan Nesbitt
 *
 */
public class Town implements MapTile, Serializable {
	private static final long serialVersionUID = -1778219941560087203L;
	
	private static final String SOURCE_FILE = "Images\\town.png";
	
	private LandOffice landOfficeObj;
	private Store storeObj;
	private Pub pubObj;
	
	/**
	 * Creates the LandOffice, Store, and Town objects that will be
	 * contained in the Town
	 * 
	 */
	public Town() {
		landOfficeObj = new LandOffice();
		storeObj = new Store();
		pubObj = new Pub();
	} // end Town constructor
	
	/**
	 * 
	 * @return The LandOffice in the Town
	 */
	public LandOffice getLandOffice() {
		return landOfficeObj;
	}
	
	/**
	 * 
	 * @return The Store in the Town
	 */
	public Store getStore() {
		return storeObj;
	}
	
	/**
	 * 
	 * @return The Pub in the Town
	 */
	public Pub getPub() {
		return pubObj;
	}
	
	/**
	 * 
	 * @param The file path for the Town's image
	 */
	public String getImageSource() {
		return SOURCE_FILE;
	}
	
	/**
	 * Dummy method that returns false. Implementing MapTile
	 */
	public boolean hasMule() {
		return false;
	}
} // end Town class
